package com.system.healthproject.model.admin.service;

import com.system.healthproject.bean.PagesBean;
import com.system.healthproject.common.ApiResult;
import com.system.healthproject.model.admin.paramsbean.*;

import java.util.List;

public interface AdminPatientService {

    boolean addPatient(AddPatientParams patientDoctor);

    ApiResult addRecord(AddRecordParams addRecordParams);

    PagesBean<PatientParems> getListPatient(
            Integer page, Integer size, String name, Integer sex, Integer city,
            Integer hasRecord, String diagnosis_time, Integer doctorId);

    boolean changUserDoctors(PatientDoctor patientDoctor);

    PatientNumberParams getPatientNumber();

    PatientNumberParams adminPatientService(Integer provinceCode);

    List<ProvinceParams> getIsPatientByProvince();

    RecordInfoParams getRecordInfoByUserId(Integer userId);

    PatientInfo patientInfoById(Integer patientId);

    boolean editPatientById(EditPatientParams patientDoctor);
}
